$OpenBSD: patch-src_hpls_c,v 1.3 2007/11/21 14:30:36 ajacoutot Exp $
--- src/hpls.c.orig	Sun Mar 17 18:20:39 2002
+++ src/hpls.c	Wed Nov 21 13:55:02 2007
@@ -417,7 +417,7 @@ void showmisc(record *ent, int flags)
     {
 	size = ent->record.u.file.data_fork.total_size + 
 	       ent->record.u.file.res_fork.total_size;
-	printf("%4Lu ", size / 1024 + (size % 1024 != 0));
+	printf("%4llu ", size / 1024 + (size % 1024 != 0));
     }
 }
 
@@ -484,7 +484,7 @@ void show_long(int sz, queueent *ents, char **strs,
 	else if (ent->record.type == HFSP_FILE)
 	{
 	    hfsp_cat_file* f = &ent->record.u.file;
-	    printf("%c%c %4.4s/%4.4s %9Lu %9Lu %s %s\n",
+	    printf("%c%c %4.4s/%4.4s %9llu %9llu %s %s\n",
 	       f->flags & HFSP_FILE_LOCKED ? 'F' : 'f',
 	       f->user_info.fdFlags & HFS_FNDR_ISINVISIBLE ? 'i' : ' ',
 	       (char*) &f->user_info.fdType, (char*) &f->user_info.fdCreator,
